﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ModifyUserData.aspx.cs" Inherits="ModifyUserData" Title="<%$ Resources:DatabaseStrings, ModifyUserData %>" %>
<%@ Register src="Help/Contact.ascx" tagname="Contact" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderContent" Runat="Server">
	<dl>
		<dt><% =Resources.DatabaseStrings.UserInfo%>:</dt>
		<dd>
			<br />
			<table>
				<tr>
					<td><% =Resources.DatabaseStrings.login_UserNameLabelText %></td>
					<td><asp:Label ID="lblUserName" runat="server" CssClass="clsTextBold" /></td>
				</tr>
				<tr>
					<td><% =Resources.DatabaseStrings.Email %></td>
					<td><asp:Label ID="lblEmail" runat="server" CssClass="clsTextBold" /></td>
				</tr>
			</table>
			<br />
		</dd>

		<asp:PlaceHolder runat="server" ID="phChangePassword">
			<dt><% =Resources.DatabaseStrings.ChangePassword %>:</dt>
			<dd>
				<br />
				<asp:ChangePassword ID="ChangePassword1" runat="server" BackColor="#EFF3FB" BorderColor="#B5C7DE"
					BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Size="9pt" 
					CancelButtonText="<%$ Resources:DatabaseStrings, changePasswd_CancelButtonText %>" 
					ChangePasswordButtonText="<%$ Resources:DatabaseStrings, changePasswd_ChangePasswordButtonText %>" 
					ChangePasswordFailureText="<%$ Resources:DatabaseStrings, changePasswd_ChangePasswordFailureText %>" 
					ChangePasswordTitleText="<%$ Resources:DatabaseStrings, changePasswd_ChangePasswordTitleText %>" 
					ConfirmNewPasswordLabelText="<%$ Resources:DatabaseStrings, changePasswd_ConfirmNewPasswordLabelText %>" 
					ConfirmPasswordCompareErrorMessage="<%$ Resources:DatabaseStrings, changePasswd_ConfirmPasswordCompareErrorMessage %>" 
					ConfirmPasswordRequiredErrorMessage="<%$ Resources:DatabaseStrings, changePasswd_ConfirmPasswordRequiredErrorMessage %>" 
					ContinueButtonText="<%$ Resources:DatabaseStrings, changePasswd_ContinueButtonText %>" 
					NewPasswordLabelText="<%$ Resources:DatabaseStrings, changePasswd_NewPasswordLabelText %>" 
					NewPasswordRegularExpressionErrorMessage="<%$ Resources:DatabaseStrings, changePasswd_NewPasswordRegularExpressionErrorMessage %>" 
					NewPasswordRequiredErrorMessage="<%$ Resources:DatabaseStrings, changePasswd_NewPasswordRequiredErrorMessage %>" 
					PasswordLabelText="<%$ Resources:DatabaseStrings, changePasswd_PasswordLabelText %>" 
					PasswordRequiredErrorMessage="<%$ Resources:DatabaseStrings, changePasswd_PasswordRequiredErrorMessage %>" 
					SuccessText="<%$ Resources:DatabaseStrings, changePasswd_SuccessText %>" 
					SuccessTitleText="<%$ Resources:DatabaseStrings, changePasswd_SuccessTitleText %>" 
					UserNameLabelText="<%$ Resources:DatabaseStrings, changePasswd_UserNameLabelText %>" 
					UserNameRequiredErrorMessage="<%$ Resources:DatabaseStrings, changePasswd_UserNameRequiredErrorMessage %>" 
					CancelDestinationPageUrl="~/Default.aspx" ContinueDestinationPageUrl="~/Default.aspx" TabIndex="1">
						<CancelButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" Font-Size="8pt" ForeColor="#284E98" />
						<InstructionTextStyle Font-Italic="True" ForeColor="Black" />
						<PasswordHintStyle Font-Italic="True" ForeColor="#507CD1" />
						<ChangePasswordButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" Font-Size="8pt" ForeColor="#284E98" />
						<ContinueButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" Font-Size="8pt" ForeColor="#284E98" />
						<TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="10pt" ForeColor="White" />
						<TextBoxStyle Font-Size="9pt" />
				</asp:ChangePassword>
				<br /><br />
			</dd>
		</asp:PlaceHolder>
		<dt><% =Resources.DatabaseStrings.ChangeLanguage %>:</dt>
		<dd>
			<br />
			<asp:Image ID="imgLang_ro" runat="server" ImageUrl="~/Images/Flags/flag_ro-RO.jpg" Style="cursor: pointer;" onclick="ChangeLanguage('ro-RO', true);" ToolTip="<%$ Resources:GridView, Lang_RO %>" />
			<asp:Image ID="imgLang_en" runat="server" ImageUrl="~/Images/Flags/flag_en-US.jpg" Style="cursor: pointer;" onclick="ChangeLanguage('en-US', true);" ToolTip="<%$ Resources:GridView, Lang_EN %>" />
			<asp:Image ID="imgLang_de" runat="server" ImageUrl="~/Images/Flags/flag_de-DE.jpg" Style="cursor: pointer;" onclick="ChangeLanguage('en-US', true);" ToolTip="<%$ Resources:GridView, Lang_DE %>" />
			<br /><br />
		</dd>
		<dt><% =Resources.GridView.AddToFavorites %>:</dt>
		<dd>
			<br />
			<a Class="aLink" href="javascript: window.external.AddFavorite('<% =(Request.Url.AbsoluteUri.Substring(0, Request.Url.AbsoluteUri.Length - Request.Url.AbsolutePath.Length) + Request.ApplicationPath) %>', 'Filling Stations Monitoring System');"><% =Resources.GridView.AddToFavorites %></a>
			<br /><br />
		</dd>
		<dt><% =Resources.DatabaseStrings.Contact %>:</dt>
		<dd>
			<uc1:Contact ID="Contact1" runat="server" />
			<br /><br />
		</dd>
	</dl>
</asp:Content>
